package com.ruoyi.douyin.utils;

import com.ruoyi.common.core.domain.AjaxResult;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;

@RestControllerAdvice
public class GlobalException {

    //@ExceptionHandler({})
    public AjaxResult douyinAuthExpire() {
        return AjaxResult.error("授权过期");
    }
}
